#ifndef __BUTTON_BSP_H__
#define __BUTTON_BSP_H__
#include "main.h"

#define BUTTON_NOPRESS 0
#define BUTTON_PRESS 1
#define BUTTON_LONGPRESS 2
#define BUTTON_LONGLONGPRESS 3
#define BUTTON_SOLONGPRESS 5
#define BUTTON_CLICK 6

void buttonInit(void);

void buttonDeinit(void);

void buttonProcess(void);

uint8_t buttonGetPress(void);
uint8_t buttonGetStatus(void);
#endif
